package com.azzcs.userservice.service;

/**
 * @Author: wzg
 * @Date: 2021/2/22 下午3:05
 */
public interface UserService {
    Integer register(String email, String password, Integer code);

    String createToken(String email);

    Boolean login(String email, String password);

    String getUserInfo(String token);
}
